export class Hero {

    constructor(
        public id: number,
        public name: string
    ) {

    }

    dispaly(): string {
        return `ID:${this.id}----${this.name}`;
    }

}